<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
		<title></title>
		<script>
			function getTimes(){
			var curDate = new Date();
			var hours = curDate.getHours();
			var minues = curDate.getMinutes();
			var seconds = curDate.getSeconds();
			var cdiv = document.getElementById("clock");
			cdiv.innerHTML= hours+":"+minues+":"+seconds;
			window.setTimeout("getTimes()",1000);
		}
//		window.setInterval("getTimes()",1000);	
		</script>
	</head>
	<body onload="getTimes()">
<div id="clock"></div>
	</body>
</html>
